home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
music
/
cubase
/
hpj2ps.lzh
/
hpj2ps.txt
< prev
Wrap
Text File
|
1994-08-22
|
3KB
|
59 lines
HPJ2PS.TTP v0.95
Hewlet Packard Deskjet Dump to PostScript Converter
---------------------------------------------------
by Richard Parr & Eliot Miranda,
Queen Mary & Westfield College,
University of London.
This program was written to allow Atari Cubase users to print out scores
on PostScript printers. It does this by converting the 300dpi HP LaserJet
output that Cubase can generate and encoding this as a PostScript bitmap.
Run-length encoding techniques are used to make the files produced of
reasonable length (they are usually around a quarter of the size of the
raw HP output). It's freeware, so feel free to copy it, but please keep
this file with it if you distribute it at all.
To use this program for printing Cubase scores, follow these instructions:
1. Get the program hpj2ps.ttp
2. Get a print-spooler that allows you to redirect printer output to a file.
E. Micklin's M_SPOOL.CPX is what we use at the moment - you can find
this at atari.archive.umich.edu in the Printing directory.
3. Install HPJET.PRN as your printer in Cubase.
4. Print out your scores to files. How to do this depends on the spooler
you choose, obviously.
5. Run hpj2ps on each file - double click the HPJ2PS icon, and enter
<HPfilename> <PSfilename> in the parameter dialog that appears.
6. Wait a few minutes.
7. Send the resulting PostScript files to a PostScript printer and print them
out!
At the moment, the program can only cope with single-page HP dumps, so print
out larger scores page by page. This should be fixed very soon. The
PostScript can take a while to print as it runs a de-compression routine at
the printer end. Getting rid of the compression speeds things up but
generates typically >900K files, so we opted for smaller, slower PS code.
The program hasn't been tested thoroughly, so give it a go and let me
know how you get on. I compiled it on a Falcon using GCC 2.4.4. M_SPOOL
(and Cubase, come to that) seem to work a lot happier, though slower, on
an ST, though. When setting up the print-spoolers buffer, you should give
it at least 500K, preferably 1MB to be safe - so this thing isn't going to
work on machines with less than 2MB, I'm afraid. Typical printing times
around here were about 3mins per page on an Apple LaserWriter IIg connected
to a Sun IPX by Ethernet, and around 10mins per page (ouch) on a LaserWriter II
connected to a Sun by a 9600 baud serial line. Not fast, but the output is
worth the wait.
Our next step is to try to include the PS generation in a print-spooler
of our own. If anybody out there has written one before, we'd appreciate
any help we can get.
Have fun,
Richard Parr (thumpy@dcs.qmw.ac.uk)